home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-07 / r3util7.zip / NAME01.ZIP / NAME.DOC < prev    next >
Text File  |  1991-07-13  |  5KB  |  117 lines

  1.  
  2.  
  3. NAME.COM 1.01 - 14 July 1991
  4.  
  5. 1. What is NAME.COM?
  6.    NAME.COM is a trival program that extracts the user name from your current
  7.    login and places it in an enviornmental variable "NAME" in your master env-
  8.    ironment.  This program has been tested with MS DOS 3.1, 3.3, 4.01, and 5.0.
  9.    It should work with any version of DOS that has a standard COMMAND.COM. It
  10.    makes use of the undocumented INT 2E function call to locate the master env-
  11.    ironment.  As this program places the variable directly in the Master Env-
  12.    ironment, the variable can be used from within the same batchfile that calls 
  13.    name.com.  This is the difference between this version and the previous ver-
  14.    sion.  The program is semi intelegent, you do not need to set up a dummy
  15.    variable with a set command to receive the value, and the variable name is
  16.    the program name.  If you rename name.com to user.com then user.com will in-
  17.    sert the variable user in the master env. ie:
  18.    
  19.    if you logon with: NET LOGIN \\SERVER RICK
  20.    Run name.com, the master environment will contain: NAME=RICK.
  21.    rename name.com user.com and run user.com the environment will contain:
  22.    USER=RICK.
  23.    
  24.    This means that the following lines added to any batch file will call a 
  25.    batchfile with the users name.
  26.  
  27.    name
  28.    call %name%
  29.    
  30.    Name.com can be run as many times as you like, the master environment will
  31.    only be updated when the value is changed and Name will not leave many 
  32.    copies in the same variable in the environment.  Another advantage to name
  33.    is that it does NOT pad the variable with spaces as NET STRING will.
  34.    
  35.  
  36. 2. How do I install NAME.COM?                     
  37.    Installation of NAME could not be easier, just copy NAME.com into a 
  38.    directory on your path.
  39.  
  40. 3. How do I use NAME.COM?
  41.    Insert NAME in the batch file you use to boot the network, after the login
  42.    commands.  The environmental variable NAME will be available from then on.
  43.    You can access this variable with the %NAME% line in any batch file. 
  44.  
  45.    Echo %NAME% will display the user name on the screen.
  46.    Echo %NAME%>>log.dat will add a line to the file log.dat with the user name
  47.    Call %NAME% will call a batch file using the user's name.
  48.  
  49.  
  50. 4. Legalities
  51.    NAME.COM is not freeware, nor is it in the public domain.  It is a
  52.    shareware program, and the entire program and documentation are
  53.    Copyright (C) 1991, Rick R. Roth, Tucson, Az.  You are encouraged
  54.    to copy the package freely, including distribution by BBS, shareware
  55.    library, or other means, provided that (1) the distribution shall
  56.    consist of the original archive containing the program and this doc-
  57.    umentation file, and (2) no fee of more than five US dollars ($5)
  58.    shall be charged for the copy.
  59.  
  60. 5. Registration
  61.    As I said this is a trivial program, registration is easy, if you like the
  62.    program and use it send a post card stating so, if you like the program but
  63.    would like to see some changes, send a post card with suggestions, if you
  64.    don't like the program, don't use it!
  65.    
  66.    To register your copy of NAME.COM send a postcard to:
  67.    
  68.    Rick R. Roth
  69.    4072 E. 22nd St.
  70.    Suite 178
  71.    Tucson, Az 85711
  72.    
  73.    THIS COPY IS LICENSED FOR THE EXCLUSIVE USE OF THE LICENSEE.  
  74.    This license is good for one network, and the software can be installed
  75.    on all computers on this network.
  76.  
  77. 6. Liability
  78.  
  79.  ╔═══════════════════════════════════════════════════════════════╗
  80.  ║                                                               ║
  81.  ║                    LIMIT OF LIABILITY                         ║
  82.  ║                    ──────────────────                         ║
  83.  ║      The author disclaims all warranties, expressed or        ║
  84.  ║ implied and assumes no liability for damages either from its  ║
  85.  ║ direct use or as a consequence of its use.  Have you hugged   ║
  86.  ║ your backup today?                                            ║
  87.  ║                                                               ║
  88.  ╚═══════════════════════════════════════════════════════════════╝
  89.  
  90.  
  91.   I have tested it on several computers and found that found that it works 
  92.   well on all of them.  All computers have been running LANtastic(tm) NOS v3.03
  93.   and above and all running MS DOS 3.3 and above.
  94.  
  95.   Please note that while the author is an employee of Artisoft, Inc., Artisoft 
  96.   is not responsible for the contents of this file; the functioning of 
  97.   NAME.COM (or any damages resulting from the use or misuse of the program); 
  98.   and further, Artisoft Technical Support and other employees of Artisoft, 
  99.   Inc. are 
  100.          
  101.                 NOT RESPONSIBLE FOR SUPPORTING THIS PROGRAM!  
  102.          
  103.   If you have problems or suggestions when using this program, direct them to 
  104.   me Rick R. Roth through one of the following channels:
  105.  
  106.         US Mail:          4702 E 22nd St,  Tucson, AZ  85711
  107.         CompuServ:        Artisoft forum, 75300,1377
  108.         Arti-facts BBS:   If you have a current account there.
  109.  
  110.  
  111.   Do NOT call the author during business hours for support, this program was
  112.   not written during business hours, it will not be supported during business 
  113.   hours.
  114.  
  115.  
  116.   LANtastic is a registered trade mark of Artisoft, INC.
  117.